package ltd.dujiabao.eduservice.service;

import ltd.dujiabao.eduservice.entity.EduChapter;
import com.baomidou.mybatisplus.extension.service.IService;
import ltd.dujiabao.eduservice.entity.chapter.ChapterVo;

import java.util.Collection;
import java.util.List;

/**
 * <p>
 * 课程 服务类
 * </p>
 *
 * @author dujiabao
 * @since 2021-04-21
 */
public interface EduChapterService extends IService<EduChapter> {

  Collection<ChapterVo> getChapterVideoTree(String courseId);

  boolean removeChapter(String id);

  boolean removeByCourseId(String id);
}
